<g ref="node">
    <path :class="$style.line" :d="path" marker-mid="url(#arrow)" />
    <slot></slot>
</g>